import { BrowserRouter, Routes, Route } from 'react-router-dom'
import Home from './components/Home'
import Base64Tool from './components/Base64Tool'
import TimestampTool from './components/TimestampTool'
import JsonTool from './components/JsonTool'
import PdfTool from './components/PdfTool'
import './App.css'

function App() {
  return (
    <BrowserRouter>
      <div className="app-container">
        <Routes>
          <Route path="/" element={<Home />} />
          <Route path="/base64" element={<Base64Tool />} />
          <Route path="/timestamp" element={<TimestampTool />} />
          <Route path="/json" element={<JsonTool />} />
          <Route path="/pdf" element={<PdfTool />} />
        </Routes>
      </div>
    </BrowserRouter>
  )
}

export default App
